package request

// 添加设备请求数据
type DeviceAddParas struct {
	NodeId     string `json:"nodeId" binding:"required"`
	DeviceName string `json:"deviceName"`
	Password   string `json:"password"`
}

type DeviceBatchCreateDto struct {
	List []DeviceAddParas
}

type DeviceAddReq struct {
	DeviceAddParas
	ProductId uint64 `json:"productId"`
}

type DeviceAddReqForClient struct {
	DeviceAddParas
}

// 分页查询产品请求数据
type DevicePagingQueryReq struct {
	CompanyId  uint64 `json:"companyId" form:"companyId"` //企业标识
	ProductId  uint64 `json:"productId" form:"productId"` //产品标识
	Imei       string `json:"imei" form:"imei"`
	DeviceId   string `json:"deviceId" form:"deviceId"`
	DeviceName string `json:"deviceName" form:"deviceName"` //产品名称
	PageInfo
}

// 分页查询产品请求数据
type DevicePagingQueryForClientReq struct {
	Imei       string `form:"imei" json:"imei"`
	DeviceId   string `form:"deviceId" json:"deviceId"`
	DeviceName string `form:"deviceName" json:"deviceName"` //产品名称
	PageInfo
}
